package 接口;

public class Printer2 implements Device {
    private String model;
    public Printer2(String model) {
        this.model = model;
    }
    @Override
    public void powerOn() {
        System.out.println(model + "打印机开机,准备就绪");
    }
    @Override
    public void powerOff() {
        System.out.println(model + "打印机关机,已保存设置");
    }

    @Override
    public void powerOFF() {
        System.out.println(model + "打印机关机,已保存设置");
    }

    @Override
    public void repair() {
        System.out.println(model + "打印机报修:可能卡纸或缺墨");
    }
}